package com.example.xueshen.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(excludeProperty = "teacher")
public class Course {
    @TableId(value = "course_id",type = IdType.AUTO)
    private Integer courseId;
    private String courseName;
    private String courseCurriculum;
    private Integer courseCredit;
    private String courseAuditStatus;
    private Integer teaTeacherId;
    public Teacher teacher;
}
